package es.cursojavaee.jaxws.ws;

import javax.jws.WebService;

@WebService(serviceName = "HolaWebService", endpointInterface = "es.cursojavaee.jaxws.ws.IHolaWebService")
public class HolaWebService implements IHolaWebService {

    private static final String MESSAGE = "Hola %s!!!";

    @Override
    public String sayHello(final String nombre) {
        return String.format(MESSAGE, nombre);
    }
}
